home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0195.lzh / AMOSLIST / text0042.txt < prev    next >
Encoding:
Text File  |  1995-02-01  |  1.7 KB  |  51 lines

  1. Finally...
  2.  
  3. I have (half) written a paint package, but am experiencing several
  4. problems with it.  (surprisingly)
  5.  
  6. 1) Can anyone tell me the formula for a parabola?  Or preferably, can
  7. anyone tell me how to write a curve tool like the one in Deluxe paint?
  8.  
  9. 2) What I want to do, for example, is pick up a circle of colour 0 from
  10. a background of colour 1 as a BOB, like:
  11.        ______
  12.       |  __  |<--colour 1
  13.       | /  \ |
  14.       | \__/<|---colour 0
  15.       |______|
  16.  
  17. BUT I would like colour 1 to be transparent and NOT colour 0!  I found a
  18. machine code procedure called MAKE_MASK on an AmosPro Productivity disk
  19. and tried to use that in conjunction with NO MASK but without success.
  20.  
  21. 3) I presume there's no way to REDIM an array is there?
  22.  
  23. 4) Or SET BUFFER within a program?  I want to have a list of fonts but,
  24. since I don't have a hard drive, I have hardly any.  When I gave the
  25. program to a friend it said "out of variable space" or something.  Do I
  26. just whack it up high and hope for the best?  If so, is there a way of
  27. telling a maximum number of fonts that the buffer would hold?  I don't
  28. think I can do an interface ActiveList directly from the FONT$() array
  29. can I??
  30.  
  31. 5) Is there a faster version of PLOT and POINT as I'm doing "image
  32. processing" (sort of..) in the program and it's REALLY slow.  I have
  33. seen an image processor I think is in Amos (because you can Ami+A it
  34. into Wbench) and it makes mine look foolish by being so fast - how does
  35. it do it?
  36.  
  37. --
  38.  
  39. I think that'll have to do for now, although I'm sure I'll think of some
  40. more soon!  Sorry about this, I hope you don't mind all this crap.  If
  41. you can help with any of it I will be incredibly grateful as many of
  42. these things have plagued me for AGES!!!
  43.  
  44. Thanks..
  45.  
  46. -- 
  47. Semprini
  48.  
  49. (Oh yeah...happy new year etc etc..)
  50.  
  51.